/**
 * 功能描述
 */
define(function (require, exports, module) {
    //引入视图基类
    var ELView = require("elview");

    //assets
    var template = require("./assets/tpl/costprice_main.tpl");
    require("./assets/css/costprice_main.css");

    //business

    //component
    var costPriceSubnavComp = require("./component/costPriceSubnavComp");
    var costPriceGridComp = require("./component/costPriceGridComp");
    var costPriceFormComp = require("./component/costPriceFormComp");
    //constant

    //handler

    //store

    var App = ELView.extend({
        attrs: {
            template: template
        },
        initComponent: function (params, widget) {
        	costPriceSubnavComp.initComponent(params, widget);
        	costPriceGridComp.initComponent(params, widget);
        	costPriceFormComp.initComponent(params, widget);
        },
        afterInitComponent: function (params, widget) {
            
        }
    });

    module.exports = App;
});
